package com.huaxinkai.mobile.util.wechatUtil;

public class WechatConfig {
	/**	微信token	*/
	public static final String WECHAT_TOKEN = "huaxinkai";
	
	/**	微信APPID	*/
	public static final String WECHAT_APPID = "wxa034c30c1e43af2c";
	//测试APPID
//	public static final String WECHAT_APPID = "wx42c5271e452e37f4";
	
	/**	微信APPSECRET	*/
	public static final String WECHAT_APPSECRET = "c26f9458572e0a195a63b60218012109";
	//测试APPSECRET
//	public static final String WECHAT_APPSECRET = "0e31ea647cf3592ad0596a78eb788704";
	
	/**	微信ACCESS_TOKEN_URL	*/
	public static final String WECHAT_ACCESS_TOKEN_URL = 
			"https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	
	/**	微信UPDATE_ACCESS_TOKEN_URL	*/
	public static final String UPDATE_ACCESS_TOKEN_URL = 
			"http://huaxinkai.imwork.net/updateTokenTest.htm";
	
	/**	微信WECHAT_BUTTON  post请求	*/
	public static final String WECHAT_BUTTON = 
			"https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
	
	/**	微信向本服务器请求创建菜单  	*/
	public static final String WECHAT_CREATE_MENU = "http://huaxinkai.imwork.net/createMenu.htm";
	
	/**	微信向服务器求JsAPIticket	*/
	public static final String WECHAT_JS_API_TICKET = 
			"https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi";
	
	/**	微信向本地服务器求更新JsAPIticket	*/
	public static final String UPDATE_JS_API_TICKET = 
			"http://huaxinkai.imwork.net/updateTicketTest.htm";
}
